﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Template.Master" AutoEventWireup="true"
    CodeBehind="Fila.aspx.cs" Inherits="CDSBDemandControl.View.Web.WebForm1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="divBloco">
        <div class="divEsquerda">
            <div class="FiltroProjeto" runat="server" id="DivFiltroProjeto">
                <table id="TblFiltro" runat="server" cellpadding="0" cellspacing="0" border="0">
                    <tr id="Tr1" runat="server">
                        <td>
                            <span id="spanFiltroFabrica" runat="server" class="spanFiltro">
                                <asp:Label ID="LblComboFabrica" AssociatedControlID="CmbFiltroFabrica" Text="Fornecedor"
                                    runat="server"></asp:Label>
                                <asp:DropDownList runat="server" ID="CmbFiltroFabrica" OnSelectedIndexChanged="CmbFiltro_SelectedIndexChanged"
                                    AutoPostBack="true">
                                    <asp:ListItem Text="Todos" Value="Todos"></asp:ListItem>
                                    <asp:ListItem Text="7COMm" Value="7COMm"></asp:ListItem>
                                    <asp:ListItem Text="CDSB" Value="CDSB"></asp:ListItem>
                                </asp:DropDownList>
                            </span><span id="spanFiltroProjetos" runat="server" class="spanFiltro">
                                <asp:Label ID="LblComboFiltro" Text="Projetos" runat="server" AssociatedControlID="cmbFiltroProjeto"></asp:Label>
                                <asp:DropDownList runat="server" ID="cmbFiltroProjeto" OnSelectedIndexChanged="CmbFiltro_SelectedIndexChanged"
                                    AutoPostBack="true">
                                    <asp:ListItem Text="Todos" Value="Todos"></asp:ListItem>
                                    <asp:ListItem Text="iMercado" Value="iMercado"></asp:ListItem>
                                    <asp:ListItem Text="Sinacor" Value="Sinacor"></asp:ListItem>
                                    <asp:ListItem Text="Site BVMF" Value="SiteBVMF"></asp:ListItem>
                                </asp:DropDownList>
                            </span>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div class="divDireita" style="vertical-align: middle;">
            <span class="Obs">
                <asp:Label ID="LblObsOrdenacao" runat="server" Text=""></asp:Label>
            </span>
        </div>
    </div>
    <asp:GridView ID="GrdFila" runat="server" AutoGenerateColumns="False" Caption="Fila de Desenvolvimento"
        CaptionAlign="Left" CellPadding="2" Width="100%" Visible="False" AllowSorting="True"
        GridLines="None" OnDataBinding="Grid_DataBinding">
        <RowStyle BackColor="#E1ECFC" Font-Names="Verdana" Font-Size="X-Small" ForeColor="Black" />
        <Columns>
            <asp:BoundField DataField="ID" HeaderText="ID" />
            <asp:BoundField DataField="Project" HeaderText="Projeto"></asp:BoundField>
            <asp:TemplateField HeaderText="Entrada na Fila">
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text='<%# Bind("DataIncFila", "{0:dd/MM/yyyy HH:mm:ss}") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Título">
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text='<%# Bind("Title") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Ínicio Estimado">
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text='<%# Bind("EstimatedStart", "{0:dd/MM/yyyy}") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="EstimatedConclude" HeaderText="Término Estimado" DataFormatString="{0:dd/MM/yyyy}" />
            <asp:BoundField DataField="WorkItemType" HeaderText="Tipo" />
            <asp:BoundField DataField="State" HeaderText="Status" />
            <asp:BoundField DataField="Reason" HeaderText="Razão" />
            <asp:BoundField DataField="EstimatedHours" HeaderText="Horas Estimadas" />
        </Columns>
        <HeaderStyle BackColor="#CFDFF9" Font-Names="Verdana" Font-Size="X-Small" Font-Bold="True"
            HorizontalAlign="Left" />
        <AlternatingRowStyle BackColor="White" Font-Names="Verdana" Font-Size="X-Small" Wrap="False" />
    </asp:GridView>
    <div id="divAdendo" class="Adendo" runat="server" />
    <table width="100%">
        <tr>
            <td>
                <div id="divTotalRegGrd01" runat="server" class="divTotalReg">
                    <asp:Label ID="lblTotalRegistros1" runat="server"></asp:Label>
                    <asp:Label ID="lblMsgSemResultados1" runat="server"></asp:Label>
                </div>
            </td>
        </tr>
    </table>
    
</asp:Content>
